/* FreeGAS Custom Function */
function doFocus() {
	if ($("username").value == "")
		$("username").focus();
	else
		$("password").focus();
}
function doLogin(name, pass) {
	$("username").value = name;
	$("password").value = pass;
	$("signInForm").submit();
}